﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SingleImage.aspx.cs" Inherits="SingleImage" %>

<%@ Register Assembly="JumploaderWrapper" Namespace="JumploaderWrapper" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script language="javascript" type="text/javascript">
        function uploaderFileStatusChanged ( uploader, file ) {
            if (file.getStatus() == 2)
                alert('file done');
                
            if (uploader.getFileCountByStatus( 1 ) <= 0 && uploader.getFileCountByStatus( 0 ) <= 0 && uploader.getFileCountByStatus( 3 ) <= 0 
                && uploader.getFileCountByStatus( 2 ) > 0) //no ready, uploading, or failed files and atleast one did finish
                alert('all files done');
	    }

    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
     <cc1:JumploaderControl ID="jload" runat="server">
      </cc1:JumploaderControl>
    
    </div>
    </form>
</body>
</html>
